package com.lianniu.web.staff.dao;

import com.lianniu.web.buyerOrder.model.BuyerOrderConditionVo;
import com.lianniu.web.buyerOrder.model.OrderDetailVo;
import com.lianniu.web.buyerOrder.model.OrderInfoVo;
import com.lianniu.web.product.model.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017-05-18.
 */
public interface StaffOrderDao {

    public List<OrderDetailVo> getOrderDetailList(@Param("orderId") String orderId);

    public OrderInfoVo getOrderById(@Param("orderId") String orderId);

    public List<OrderInfoVo> getOrders(@Param("staffId")String staffId,@Param("approveStatus")String approveStatus
            ,@Param("page")Page page);

    public int getOrdersCount(@Param("staffId")String staffId,@Param("approveStatus")String approveStatus);

    public int updateOrderInfo(OrderInfoVo orderInfoVo);

    public int updateOrderDetail(OrderDetailVo orderDetailVo);

}
